clear all;close all;clc

input_length = 20;

input = complex(zeros(1,input_length),zeros(1,input_length));
input(1) = complex(1,0);

coeffs = [0.00000000000000000000e+00,	-6.40574149210236531982e-03,	1.33542201119032678813e-02,	-7.59039005902627759992e-03,	-2.20932420507254541342e-02, ...
7.62999348843487190663e-02,	-1.41565981761304526820e-01,	1.95126718051850223112e-01,	7.85748964630113122531e-01,	1.95126718051850223112e-01,	...
-1.41565981761304526820e-01,	7.62999348843487190663e-02,	-2.20932420507254541342e-02,	-7.59039005902627759992e-03,	1.33542201119032678813e-02,	...
-6.40574149210236531982e-03,	0.00000000000000000000e+00];

coeff_len = 17;

[output] = naive_filter(input, input_length, coeffs, coeff_len);